exec = exceptional

.PHONY: exec
exec: $(exec)

$(exec): dynkin.cmx exceptional.cmx
	ocamlopt.opt -o $@ $^

dynkin.cmx: dynkin.ml dynkin.cmi
	ocamlopt.opt -c $<

dynkin.cmi: dynkin.mli
	ocamlopt.opt -c $<

exceptional.cmx: exceptional.ml dynkin.cmx
	ocamlopt.opt -c $<

.PHONY: clean
clean:
	rm -f *.cmx *.cmi *.o $(exec)
